package Interfaces;

import java.sql.SQLException;

import Dados.*;

public interface IControle {
	
	//####################### ADMINISTRADOR ############################
	public void cadastrarAdministrador(Administrador adm)throws SQLException;
	
	public void editarAdministrador(Administrador adm)throws SQLException;
	
	public void removerAdministrador(String cpf)throws SQLException;
	
	public Administrador consultarAdministrador(String cpf) throws SQLException;
	
	//####################### MEDICO ############################
	
	public void cadastrarMedico(Medico medico)throws SQLException;
	
	public void editarMedico(Medico medico)throws SQLException;
	
	public void removerMedico(String cpf)throws SQLException;
	
	public Medico consultarMedico(String cpf)throws SQLException;
	
	//####################### SECRETARIA ############################
	
	public void cadastrarSecretaria(Secretaria sec)throws SQLException;
	
	public void editarSecretaria(Secretaria sec)throws SQLException;
	
	public void removerSecretaria(String cpf)throws SQLException;
	
	public Secretaria consultarSecretaria(String cpf)throws SQLException;
	
	//####################### PACIENTE ############################
	
	public void cadastrarPaciente(Paciente pac)throws SQLException;
	
	public void editarPaciente(Paciente pac)throws SQLException;
	
	public void removerPaciente(String cpf)throws SQLException;
	
	public Paciente consultarPaciente(String cpf)throws SQLException;
	
	//####################### CONSULTA ############################
	
	public void cadastrarConsulta(Consulta cons)throws SQLException;
	
	public void editarConsulta(Consulta cons)throws SQLException;
	
	public void removerConsulta(int cod)throws SQLException;
	
	public Consulta consultarConsulta(int cod) throws SQLException;
}
